package com.cyzy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cyzy.pojo.CarModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author cuncun
 * @create 2025-05-28 上午9:22
 */
@Mapper
public interface HitCarMapper extends BaseMapper<CarModel> {

    //查询车类型
    @Select("SELECT DISTINCT model_name from car_model")
    public List<CarModel> getModelName();

}
